import request from '@/utils/request'

// 查询污水采集列表
export function listOpmEnvSewageTest(query) {
  return request({
    url: '/environment/opmEnvSewageTest/list',
    method: 'get',
    params: query
  })
}

// 查询污水采集详细
export function getOpmEnvSewageTest(id) {
  return request({
    url: '/environment/opmEnvSewageTest/' + id,
    method: 'get'
  })
}

// 新增污水采集
export function addOpmEnvSewageTest(data) {
  return request({
    url: '/environment/opmEnvSewageTest',
    method: 'post',
    data: data
  })
}

// 修改污水采集
export function updateOpmEnvSewageTest(data) {
  return request({
    url: '/environment/opmEnvSewageTest',
    method: 'put',
    data: data
  })
}

// 删除污水采集
export function delOpmEnvSewageTest(id) {
  return request({
    url: '/environment/opmEnvSewageTest/' + id,
    method: 'delete'
  })
}
